package com.sinosoft.bee.services.proposal.service;

import com.sinosoft.bee.services.proposal.entity.proposal.ProposalInsured;

import java.util.List;

/**
 * @Author: TrickerL
 * @Description: bee
 * @Date: Create in 15:18 2018/5/16
 * @Modified By:
 */
public interface InsuredInfoService {

    /**
     * 新增投保人信息
     * @param insured
     * @return
     */
    Integer insertProposalInsuredInfo(ProposalInsured insured);

    /**
     * 删除投保人信息
     * @param insured
     */
    void deleteInsuredInfo(ProposalInsured insured);

    /**
     * 查询所有被保人信息
     * @return
     */
    List<ProposalInsured> selectAllInsured();

    /**
     * 修改被保人信息通过被保人ID
     * @param insured
     */
    void updateById(ProposalInsured insured);
}
